import request from '@/utils/request'

const baseUrl = '/home'

// 汇总数据
export function getSummaryData() {
  return request({
    url: `${baseUrl}/summary`,
    method: 'get',
  });
}

// 借出物料数量
export function getLendData() {
  return request({
    url: `${baseUrl}/lends`,
    method: 'get',
  });
}

// 物料统计
export function getstatisticsData() {
  return request({
    url: `${baseUrl}/statistics`,
    method: 'get',
  });
}


